﻿using System;
using System.IO;

namespace OpenCube.IO
{
	[CLSCompliant(false)]
	public sealed class BinaryReaderFactory
		: IBinaryReaderFactory
	{
		public IBinaryReader CreateBinaryReader(Stream stream, Endianness streamEndianness)
		{
			return new EndiannessAwareBinaryReader(stream, streamEndianness);
		}
	}
}